<?php
/**
 * update reference skins
 *
 * @author Bernard Paques [email]bernard.paques@bigfoot.com[/email]
 * @reference
 * @license http://www.gnu.org/copyleft/lesser.txt GNU Lesser General Public License
 */

// splash message
global $local;
$local['label_en'] = 'Update reference skins';
$local['label_fr'] = 'Mise &agrave; jour des styles de r&eacute;f&eacute;rence';
echo i18n::user('label')."<br />\n";

// the reference server to use
@include_once $context['path_to_root'].'scripts/parameters.include.php';
if(!isset($context['reference_server']) || !$context['reference_server'])
	$context['reference_server'] = 'www.yacs.fr';

// files to fetch, from root path
unset($files);
$files[] = 'skins/_reference/ajax/accept.png';
$files[] = 'skins/_reference/ajax/ajax_completer.gif';
$files[] = 'skins/_reference/ajax/ajax_spinner.gif';
$files[] = 'skins/_reference/ajax/ajax_tab_bg.gif';
$files[] = 'skins/_reference/ajax/ajax_tab_bg_active.gif';
$files[] = 'skins/_reference/ajax/ajax_working.gif';
$files[] = 'skins/_reference/ajax/cancel.png';
$files[] = 'skins/_reference/ajax/on_demand_delete.png';
$files[] = 'skins/_reference/ajax/on_demand_handle.png';
$files[] = 'skins/_reference/ajax/on_demand_properties.png';
$files[] = 'skins/_reference/ajax/overlay_background.png';
$files[] = 'skins/_reference/articles/add.gif';
$files[] = 'skins/_reference/articles/assign.gif';
$files[] = 'skins/_reference/articles/delete.gif';
$files[] = 'skins/_reference/articles/done.gif';
$files[] = 'skins/_reference/articles/duplicate.gif';
$files[] = 'skins/_reference/articles/edit.gif';
$files[] = 'skins/_reference/articles/email.gif';
$files[] = 'skins/_reference/articles/export_pdf.gif';
$files[] = 'skins/_reference/articles/export_word.gif';
$files[] = 'skins/_reference/articles/hot_thread.gif';
$files[] = 'skins/_reference/articles/invite.gif';
$files[] = 'skins/_reference/articles/lock.gif';
$files[] = 'skins/_reference/articles/poll.gif';
$files[] = 'skins/_reference/articles/publish.gif';
$files[] = 'skins/_reference/articles/stamp.gif';
$files[] = 'skins/_reference/articles/sticky_thread.gif';
$files[] = 'skins/_reference/articles/thread.gif';
$files[] = 'skins/_reference/articles/todo.gif';
$files[] = 'skins/_reference/articles/unlock.gif';
$files[] = 'skins/_reference/articles/unpublish.gif';
$files[] = 'skins/_reference/articles/versions.gif';
$files[] = 'skins/_reference/articles/very_hot_thread.gif';
$files[] = 'skins/_reference/avatars/001.gif';
$files[] = 'skins/_reference/avatars/006.gif';
$files[] = 'skins/_reference/avatars/037.gif';
$files[] = 'skins/_reference/avatars/039.gif';
$files[] = 'skins/_reference/avatars/046.gif';
$files[] = 'skins/_reference/avatars/047.gif';
$files[] = 'skins/_reference/avatars/048.gif';
$files[] = 'skins/_reference/avatars/049.gif';
$files[] = 'skins/_reference/avatars/050.gif';
$files[] = 'skins/_reference/avatars/091.gif';
$files[] = 'skins/_reference/avatars/093.gif';
$files[] = 'skins/_reference/avatars/095.gif';
$files[] = 'skins/_reference/avatars/104.gif';
$files[] = 'skins/_reference/avatars/126.gif';
$files[] = 'skins/_reference/avatars/132.gif';
$files[] = 'skins/_reference/avatars/137.gif';
$files[] = 'skins/_reference/avatars/142.gif';
$files[] = 'skins/_reference/avatars/145.gif';
$files[] = 'skins/_reference/avatars/171.gif';
$files[] = 'skins/_reference/avatars/175.gif';
$files[] = 'skins/_reference/categories/add.gif';
$files[] = 'skins/_reference/categories/assign.gif';
$files[] = 'skins/_reference/categories/delete.gif';
$files[] = 'skins/_reference/categories/edit.gif';
$files[] = 'skins/_reference/categories/email.gif';
$files[] = 'skins/_reference/codes/answer.gif';
$files[] = 'skins/_reference/codes/bullet.png';
$files[] = 'skins/_reference/codes/caution.gif';
$files[] = 'skins/_reference/codes/note.gif';
$files[] = 'skins/_reference/codes/question.gif';
$files[] = 'skins/_reference/codes/quote.gif';
$files[] = 'skins/_reference/comments/add.gif';
$files[] = 'skins/_reference/comments/attention.gif';
$files[] = 'skins/_reference/comments/delete.gif';
$files[] = 'skins/_reference/comments/done.gif';
$files[] = 'skins/_reference/comments/edit.gif';
$files[] = 'skins/_reference/comments/idea.gif';
$files[] = 'skins/_reference/comments/information.gif';
$files[] = 'skins/_reference/comments/list.gif';
$files[] = 'skins/_reference/comments/promote.gif';
$files[] = 'skins/_reference/comments/question.gif';
$files[] = 'skins/_reference/comments/quote.gif';
$files[] = 'skins/_reference/comments/reply.gif';
$files[] = 'skins/_reference/comments/thumbs_down.gif';
$files[] = 'skins/_reference/comments/thumbs_up.gif';
$files[] = 'skins/_reference/comments/warning.gif';
$files[] = 'skins/_reference/decisions/no.gif';
$files[] = 'skins/_reference/decisions/yes.gif';
$files[] = 'skins/_reference/feeds/addthis0-bm.gif';
$files[] = 'skins/_reference/feeds/addthis0-fd.gif';
$files[] = 'skins/_reference/feeds/atom.png';
$files[] = 'skins/_reference/feeds/opml.png';
$files[] = 'skins/_reference/feeds/rss_1.0.png';
$files[] = 'skins/_reference/feeds/rss_2.0.png';
$files[] = 'skins/_reference/files/access_icon.gif';
$files[] = 'skins/_reference/files/default_icon.gif';
$files[] = 'skins/_reference/files/delete.gif';
$files[] = 'skins/_reference/files/download.gif';
$files[] = 'skins/_reference/files/edit.gif';
$files[] = 'skins/_reference/files/excel_icon.gif';
$files[] = 'skins/_reference/files/exe_icon.gif';
$files[] = 'skins/_reference/files/film_icon.gif';
$files[] = 'skins/_reference/files/flash_icon.gif';
$files[] = 'skins/_reference/files/freemind_icon.gif';
$files[] = 'skins/_reference/files/google_icon.gif';
$files[] = 'skins/_reference/files/gpx_icon.gif';
$files[] = 'skins/_reference/files/html_icon.gif';
$files[] = 'skins/_reference/files/image_icon.gif';
$files[] = 'skins/_reference/files/list.gif';
$files[] = 'skins/_reference/files/midi_icon.gif';
$files[] = 'skins/_reference/files/mmap_icon.gif';
$files[] = 'skins/_reference/files/mov_icon.gif';
$files[] = 'skins/_reference/files/ooo_calc_icon.png';
$files[] = 'skins/_reference/files/ooo_chart_icon.png';
$files[] = 'skins/_reference/files/ooo_database_icon.png';
$files[] = 'skins/_reference/files/ooo_draw_icon.png';
$files[] = 'skins/_reference/files/ooo_global_icon.png';
$files[] = 'skins/_reference/files/ooo_html_icon.png';
$files[] = 'skins/_reference/files/ooo_impress_icon.png';
$files[] = 'skins/_reference/files/ooo_math_icon.png';
$files[] = 'skins/_reference/files/ooo_writer_icon.png';
$files[] = 'skins/_reference/files/open_workbench_icon.gif';
$files[] = 'skins/_reference/files/palm_icon.gif';
$files[] = 'skins/_reference/files/pdf_icon.gif';
$files[] = 'skins/_reference/files/play.gif';
$files[] = 'skins/_reference/files/postscript_icon.gif';
$files[] = 'skins/_reference/files/powerpoint_icon.gif';
$files[] = 'skins/_reference/files/project_icon.gif';
$files[] = 'skins/_reference/files/publisher_icon.gif';
$files[] = 'skins/_reference/files/security_icon.png';
$files[] = 'skins/_reference/files/sound_icon.png';
$files[] = 'skins/_reference/files/tex_icon.gif';
$files[] = 'skins/_reference/files/text_icon.gif';
$files[] = 'skins/_reference/files/upload.gif';
$files[] = 'skins/_reference/files/versions.gif';
$files[] = 'skins/_reference/files/visio_icon.gif';
$files[] = 'skins/_reference/files/word_icon.gif';
$files[] = 'skins/_reference/files/write_icon.gif';
$files[] = 'skins/_reference/files/zip_icon.gif';
$files[] = 'skins/_reference/files_inline/access.gif';
$files[] = 'skins/_reference/files_inline/collection.png';
$files[] = 'skins/_reference/files_inline/default.gif';
$files[] = 'skins/_reference/files_inline/excel.gif';
$files[] = 'skins/_reference/files_inline/exe.gif';
$files[] = 'skins/_reference/files_inline/flash.gif';
$files[] = 'skins/_reference/files_inline/folder.png';
$files[] = 'skins/_reference/files_inline/folder_up.gif';
$files[] = 'skins/_reference/files_inline/help.gif';
$files[] = 'skins/_reference/files_inline/html.gif';
$files[] = 'skins/_reference/files_inline/image.gif';
$files[] = 'skins/_reference/files_inline/midi.gif';
$files[] = 'skins/_reference/files_inline/mmap.gif';
$files[] = 'skins/_reference/files_inline/ooo_calc_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_database_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_draw_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_global_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_html_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_impress_icon.png';
$files[] = 'skins/_reference/files_inline/ooo_writer_icon.png';
$files[] = 'skins/_reference/files_inline/pdf.gif';
$files[] = 'skins/_reference/files_inline/php.gif';
$files[] = 'skins/_reference/files_inline/postscript.png';
$files[] = 'skins/_reference/files_inline/ppt.gif';
$files[] = 'skins/_reference/files_inline/project.gif';
$files[] = 'skins/_reference/files_inline/publisher.gif';
$files[] = 'skins/_reference/files_inline/qb_download.gif';
$files[] = 'skins/_reference/files_inline/qb_movie.gif';
$files[] = 'skins/_reference/files_inline/qb_sound.gif';
$files[] = 'skins/_reference/files_inline/sound.gif';
$files[] = 'skins/_reference/files_inline/system.gif';
$files[] = 'skins/_reference/files_inline/tex.png';
$files[] = 'skins/_reference/files_inline/txt.gif';
$files[] = 'skins/_reference/files_inline/video.gif';
$files[] = 'skins/_reference/files_inline/visio.gif';
$files[] = 'skins/_reference/files_inline/word.gif';
$files[] = 'skins/_reference/files_inline/write.gif';
$files[] = 'skins/_reference/files_inline/zip.gif';
$files[] = 'skins/_reference/flags/be.gif';
$files[] = 'skins/_reference/flags/ca.gif';
$files[] = 'skins/_reference/flags/ch.gif';
$files[] = 'skins/_reference/flags/de.gif';
$files[] = 'skins/_reference/flags/es.gif';
$files[] = 'skins/_reference/flags/fr.gif';
$files[] = 'skins/_reference/flags/gb.gif';
$files[] = 'skins/_reference/flags/gr.gif';
$files[] = 'skins/_reference/flags/it.gif';
$files[] = 'skins/_reference/flags/pt.gif';
$files[] = 'skins/_reference/flags/us.gif';
$files[] = 'skins/_reference/images/add.gif';
$files[] = 'skins/_reference/images/delete.gif';
$files[] = 'skins/_reference/images/edit.gif';
$files[] = 'skins/_reference/layouts/accordion_minus.jpg';
$files[] = 'skins/_reference/layouts/accordion_plus.jpg';
$files[] = 'skins/_reference/layouts/carrousel_bubble.png';
$files[] = 'skins/_reference/layouts/comment_dt_bg.gif';
$files[] = 'skins/_reference/layouts/decorated.gif';
$files[] = 'skins/_reference/layouts/folder_minus.gif';
$files[] = 'skins/_reference/layouts/folder_plus.gif';
$files[] = 'skins/_reference/layouts/gadget_left.gif';
$files[] = 'skins/_reference/layouts/gadget_right.gif';
$files[] = 'skins/_reference/layouts/gadget_tab.jpg';
$files[] = 'skins/_reference/layouts/map.gif';
$files[] = 'skins/_reference/layouts/row_bg.gif';
$files[] = 'skins/_reference/layouts/slide_down.gif';
$files[] = 'skins/_reference/layouts/slide_up.gif';
$files[] = 'skins/_reference/links/add.gif';
$files[] = 'skins/_reference/links/article.png';
$files[] = 'skins/_reference/links/category.png';
$files[] = 'skins/_reference/links/comment.png';
$files[] = 'skins/_reference/links/delete.gif';
$files[] = 'skins/_reference/links/edit.gif';
$files[] = 'skins/_reference/links/email.png';
$files[] = 'skins/_reference/links/external.png';
$files[] = 'skins/_reference/links/file.png';
$files[] = 'skins/_reference/links/list.gif';
$files[] = 'skins/_reference/links/menu_bar.gif';
$files[] = 'skins/_reference/links/next.jpg';
$files[] = 'skins/_reference/links/previous.jpg';
$files[] = 'skins/_reference/links/script.png';
$files[] = 'skins/_reference/links/section.png';
$files[] = 'skins/_reference/links/server.png';
$files[] = 'skins/_reference/links/shortcut.png';
$files[] = 'skins/_reference/links/user.png';
$files[] = 'skins/_reference/pagers/aim.gif';
$files[] = 'skins/_reference/pagers/icq.gif';
$files[] = 'skins/_reference/pagers/irc.gif';
$files[] = 'skins/_reference/pagers/jabber.gif';
$files[] = 'skins/_reference/pagers/msn.gif';
$files[] = 'skins/_reference/pagers/skype.gif';
$files[] = 'skins/_reference/pagers/twitter.gif';
$files[] = 'skins/_reference/pagers/yahoo.gif';
$files[] = 'skins/_reference/rating/rated_1.gif';
$files[] = 'skins/_reference/rating/rated_2.gif';
$files[] = 'skins/_reference/rating/rated_3.gif';
$files[] = 'skins/_reference/rating/rated_4.gif';
$files[] = 'skins/_reference/rating/rated_5.gif';
$files[] = 'skins/_reference/sections/add.gif';
$files[] = 'skins/_reference/sections/assign.gif';
$files[] = 'skins/_reference/sections/delete.gif';
$files[] = 'skins/_reference/sections/duplicate.gif';
$files[] = 'skins/_reference/sections/edit.gif';
$files[] = 'skins/_reference/sections/email.gif';
$files[] = 'skins/_reference/sections/invite.gif';
$files[] = 'skins/_reference/sections/lock.gif';
$files[] = 'skins/_reference/sections/manage.gif';
$files[] = 'skins/_reference/sections/select.gif';
$files[] = 'skins/_reference/sections/unlock.gif';
$files[] = 'skins/_reference/sections/versions.gif';
$files[] = 'skins/_reference/smileys/alien.gif';
$files[] = 'skins/_reference/smileys/angel.gif';
$files[] = 'skins/_reference/smileys/angry.gif';
$files[] = 'skins/_reference/smileys/basket.gif';
$files[] = 'skins/_reference/smileys/beer.gif';
$files[] = 'skins/_reference/smileys/bionic.gif';
$files[] = 'skins/_reference/smileys/blushing.gif';
$files[] = 'skins/_reference/smileys/bomb.gif';
$files[] = 'skins/_reference/smileys/bounce.gif';
$files[] = 'skins/_reference/smileys/cake.gif';
$files[] = 'skins/_reference/smileys/camera.gif';
$files[] = 'skins/_reference/smileys/candle.gif';
$files[] = 'skins/_reference/smileys/cat.gif';
$files[] = 'skins/_reference/smileys/chainsaw.gif';
$files[] = 'skins/_reference/smileys/champion.gif';
$files[] = 'skins/_reference/smileys/cheesy.gif';
$files[] = 'skins/_reference/smileys/chinese.gif';
$files[] = 'skins/_reference/smileys/clap.gif';
$files[] = 'skins/_reference/smileys/clock.gif';
$files[] = 'skins/_reference/smileys/cocktail.gif';
$files[] = 'skins/_reference/smileys/colored.gif';
$files[] = 'skins/_reference/smileys/confused.gif';
$files[] = 'skins/_reference/smileys/cool.gif';
$files[] = 'skins/_reference/smileys/crazy.gif';
$files[] = 'skins/_reference/smileys/cry.gif';
$files[] = 'skins/_reference/smileys/cup.gif';
$files[] = 'skins/_reference/smileys/dead.gif';
$files[] = 'skins/_reference/smileys/diablotin.gif';
$files[] = 'skins/_reference/smileys/dog.gif';
$files[] = 'skins/_reference/smileys/drool.gif';
$files[] = 'skins/_reference/smileys/email.gif';
$files[] = 'skins/_reference/smileys/embarassed.gif';
$files[] = 'skins/_reference/smileys/exclamation.gif';
$files[] = 'skins/_reference/smileys/exclamation2.gif';
$files[] = 'skins/_reference/smileys/exit.gif';
$files[] = 'skins/_reference/smileys/fairy.gif';
$files[] = 'skins/_reference/smileys/female.gif';
$files[] = 'skins/_reference/smileys/film.gif';
$files[] = 'skins/_reference/smileys/flush.gif';
$files[] = 'skins/_reference/smileys/forbidden.gif';
$files[] = 'skins/_reference/smileys/frog.gif';
$files[] = 'skins/_reference/smileys/frown.gif';
$files[] = 'skins/_reference/smileys/ghost.gif';
$files[] = 'skins/_reference/smileys/gun.gif';
$files[] = 'skins/_reference/smileys/hail.gif';
$files[] = 'skins/_reference/smileys/heart.gif';
$files[] = 'skins/_reference/smileys/hearts.gif';
$files[] = 'skins/_reference/smileys/hip.gif';
$files[] = 'skins/_reference/smileys/horror.gif';
$files[] = 'skins/_reference/smileys/hot.gif';
$files[] = 'skins/_reference/smileys/idea.gif';
$files[] = 'skins/_reference/smileys/idiot.gif';
$files[] = 'skins/_reference/smileys/index.html';
$files[] = 'skins/_reference/smileys/insult.gif';
$files[] = 'skins/_reference/smileys/joker.gif';
$files[] = 'skins/_reference/smileys/king.gif';
$files[] = 'skins/_reference/smileys/kiss.gif';
$files[] = 'skins/_reference/smileys/lol.gif';
$files[] = 'skins/_reference/smileys/love.gif';
$files[] = 'skins/_reference/smileys/mac.gif';
$files[] = 'skins/_reference/smileys/male.gif';
$files[] = 'skins/_reference/smileys/medal_full.gif';
$files[] = 'skins/_reference/smileys/medal_half.gif';
$files[] = 'skins/_reference/smileys/naive.gif';
$files[] = 'skins/_reference/smileys/no.gif';
$files[] = 'skins/_reference/smileys/not_me.gif';
$files[] = 'skins/_reference/smileys/note.gif';
$files[] = 'skins/_reference/smileys/out.gif';
$files[] = 'skins/_reference/smileys/paranoid.gif';
$files[] = 'skins/_reference/smileys/partygirl.gif';
$files[] = 'skins/_reference/smileys/peace.gif';
$files[] = 'skins/_reference/smileys/peeping.gif';
$files[] = 'skins/_reference/smileys/pet.gif';
$files[] = 'skins/_reference/smileys/phone.gif';
$files[] = 'skins/_reference/smileys/pissed.gif';
$files[] = 'skins/_reference/smileys/present.gif';
$files[] = 'skins/_reference/smileys/question.gif';
$files[] = 'skins/_reference/smileys/question2.gif';
$files[] = 'skins/_reference/smileys/reading.gif';
$files[] = 'skins/_reference/smileys/rolleyes.gif';
$files[] = 'skins/_reference/smileys/rose.gif';
$files[] = 'skins/_reference/smileys/santa.gif';
$files[] = 'skins/_reference/smileys/sealed.gif';
$files[] = 'skins/_reference/smileys/shit.gif';
$files[] = 'skins/_reference/smileys/shocked.gif';
$files[] = 'skins/_reference/smileys/shouting.gif';
$files[] = 'skins/_reference/smileys/sick.gif';
$files[] = 'skins/_reference/smileys/sleep.gif';
$files[] = 'skins/_reference/smileys/smash.gif';
$files[] = 'skins/_reference/smileys/smile.gif';
$files[] = 'skins/_reference/smileys/sniping.gif';
$files[] = 'skins/_reference/smileys/star.gif';
$files[] = 'skins/_reference/smileys/sunshine.gif';
$files[] = 'skins/_reference/smileys/sweetheart.gif';
$files[] = 'skins/_reference/smileys/swiss.gif';
$files[] = 'skins/_reference/smileys/thinking.gif';
$files[] = 'skins/_reference/smileys/thumbsdown.gif';
$files[] = 'skins/_reference/smileys/thumbsup.gif';
$files[] = 'skins/_reference/smileys/tongue.gif';
$files[] = 'skins/_reference/smileys/trooper.gif';
$files[] = 'skins/_reference/smileys/tux.gif';
$files[] = 'skins/_reference/smileys/undecided.gif';
$files[] = 'skins/_reference/smileys/unlove.gif';
$files[] = 'skins/_reference/smileys/vader.gif';
$files[] = 'skins/_reference/smileys/wall.gif';
$files[] = 'skins/_reference/smileys/wave.gif';
$files[] = 'skins/_reference/smileys/win.gif';
$files[] = 'skins/_reference/smileys/winkgrin.gif';
$files[] = 'skins/_reference/smileys/yak.gif';
$files[] = 'skins/_reference/smileys/yinyang.gif';
$files[] = 'skins/_reference/smileys/yippee.gif';
$files[] = 'skins/_reference/tools/draft.gif';
$files[] = 'skins/_reference/tools/expired.gif';
$files[] = 'skins/_reference/tools/locked.gif';
$files[] = 'skins/_reference/tools/more.gif';
$files[] = 'skins/_reference/tools/new.gif';
$files[] = 'skins/_reference/tools/popular.gif';
$files[] = 'skins/_reference/tools/print.gif';
$files[] = 'skins/_reference/tools/private.gif';
$files[] = 'skins/_reference/tools/restricted.gif';
$files[] = 'skins/_reference/tools/tag_bg.gif';
$files[] = 'skins/_reference/tools/trackback.gif';
$files[] = 'skins/_reference/tools/updated.gif';
$files[] = 'skins/_reference/tools/votes_bg.gif';
$files[] = 'skins/_reference/tools/watch.gif';
$files[] = 'skins/_reference/tools/xml.gif';
$files[] = 'skins/_reference/tree/close.gif';
$files[] = 'skins/_reference/tree/last.gif';
$files[] = 'skins/_reference/tree/node.gif';
$files[] = 'skins/_reference/tree/open.gif';
$files[] = 'skins/_reference/tree/vertical.gif';
$files[] = 'skins/_reference/user-agents/aix.gif';
$files[] = 'skins/_reference/user-agents/altavista.gif';
$files[] = 'skins/_reference/user-agents/be.gif';
$files[] = 'skins/_reference/user-agents/bsd.gif';
$files[] = 'skins/_reference/user-agents/explorer.gif';
$files[] = 'skins/_reference/user-agents/irix.gif';
$files[] = 'skins/_reference/user-agents/konqueror.gif';
$files[] = 'skins/_reference/user-agents/linux.gif';
$files[] = 'skins/_reference/user-agents/lynx.gif';
$files[] = 'skins/_reference/user-agents/mac.gif';
$files[] = 'skins/_reference/user-agents/mozilla.gif';
$files[] = 'skins/_reference/user-agents/netscape.gif';
$files[] = 'skins/_reference/user-agents/opera.gif';
$files[] = 'skins/_reference/user-agents/os2.gif';
$files[] = 'skins/_reference/user-agents/question.gif';
$files[] = 'skins/_reference/user-agents/sun.gif';
$files[] = 'skins/_reference/user-agents/webtv.gif';
$files[] = 'skins/_reference/user-agents/windows.gif';
$files[] = 'skins/_reference/users/add.gif';
$files[] = 'skins/_reference/users/delete.gif';
$files[] = 'skins/_reference/users/edit.gif';
$files[] = 'skins/_reference/users/password.gif';
$files[] = 'skins/_reference/users/vcard.gif';
$files[] = 'skins/_reference/users/watch.gif';
$files[] = 'skins/_reference/yacs.css';
$files[] = 'skins/boxesandarrows/boxesandarrows.css';
$files[] = 'skins/boxesandarrows/codes/art_end.gif';
$files[] = 'skins/boxesandarrows/layouts/map.gif';
$files[] = 'skins/boxesandarrows/tools/more.gif';
$files[] = 'skins/digital/codes/bullet.gif';
$files[] = 'skins/digital/digital.css';
$files[] = 'skins/digital/layouts/map.gif';
$files[] = 'skins/digital/nicetitle.css';
$files[] = 'skins/digital/tools/more.gif';
$files[] = 'skins/digital/tools/new.gif';
$files[] = 'skins/digital/tools/updated.gif';
$files[] = 'skins/flexible/boxes/box156-prefix-m.gif';
$files[] = 'skins/flexible/boxes/box156-suffix-bm.gif';
$files[] = 'skins/flexible/boxes/boxcorner-prefix-l.gif';
$files[] = 'skins/flexible/boxes/boxcorner-suffix-br.gif';
$files[] = 'skins/flexible/boxes/p-bar-blue_tile-x.jpg';
$files[] = 'skins/flexible/boxes/p-bar-bul-l.gif';
$files[] = 'skins/flexible/boxes/p-bar-container-l.gif';
$files[] = 'skins/flexible/boxes/p-bar-container-r.gif';
$files[] = 'skins/flexible/boxes/p-bar-grey-l.png';
$files[] = 'skins/flexible/boxes/p-bar-grey-r.png';
$files[] = 'skins/flexible/boxes/p-bar-hash-x.gif';
$files[] = 'skins/flexible/boxes/p-bar-icon-l.gif';
$files[] = 'skins/flexible/boxes/p-bar-nav-x.gif';
$files[] = 'skins/flexible/boxes/p-bar-navigator-l.png';
$files[] = 'skins/flexible/boxes/p-bar-navigator-r.png';
$files[] = 'skins/flexible/boxes/p-bar-navigator-x.png';
$files[] = 'skins/flexible/boxes/p-bar-pink-x.png';
$files[] = 'skins/flexible/boxes/p-bar-round-l.gif';
$files[] = 'skins/flexible/boxes/p-bg_ul_li-l.gif';
$files[] = 'skins/flexible/boxes/p-corner-l.jpg';
$files[] = 'skins/flexible/boxes/p-corner-topleft-l.png';
$files[] = 'skins/flexible/boxes/p-gh-bckg-topbanner-x.gif';
$files[] = 'skins/flexible/boxes/p-gh-bg-x.png';
$files[] = 'skins/flexible/boxes/p-gh-bkgSubSelected-x.gif';
$files[] = 'skins/flexible/boxes/p-gh-bloc-news-m.jpg';
$files[] = 'skins/flexible/boxes/p-gh-divide-l.png';
$files[] = 'skins/flexible/boxes/p-gh-p7ap_light_gray_bevel-x.jpg';
$files[] = 'skins/flexible/boxes/p-gh-radient-x.gif';
$files[] = 'skins/flexible/boxes/p-gt_small-x.gif';
$files[] = 'skins/flexible/boxes/p-gt-bluegradient-x.jpg';
$files[] = 'skins/flexible/boxes/p-gt-disc-back-x.gif';
$files[] = 'skins/flexible/boxes/s-bar-1a_2-bl.jpg';
$files[] = 'skins/flexible/boxes/s-bar-bl.gif';
$files[] = 'skins/flexible/boxes/s-bar-chromebg-b.gif';
$files[] = 'skins/flexible/boxes/s-bar-hd4-b.gif';
$files[] = 'skins/flexible/boxes/s-bar-large-b.jpg';
$files[] = 'skins/flexible/boxes/s-bottom-line-bm.gif';
$files[] = 'skins/flexible/boxes/s-gh-blue_fade_segment-bl.gif';
$files[] = 'skins/flexible/boxes/s-gh-content-container-background-b.png';
$files[] = 'skins/flexible/boxes/s-gh-menuback-b.gif';
$files[] = 'skins/flexible/boxes/s-gt-bgfadegreen-b.gif';
$files[] = 'skins/flexible/boxes/s-gt-chrom_menu-b.png';
$files[] = 'skins/flexible/boxes/s-gt-profilebackground-b.gif';
$files[] = 'skins/flexible/boxes/s-gt-shadow_alpha-br.png';
$files[] = 'skins/flexible/boxes/s-gt-shadow-br.gif';
$files[] = 'skins/flexible/boxes/s-h_background-bl.gif';
$files[] = 'skins/flexible/boxes/s-sub-feature-bottom-br.png';
$files[] = 'skins/flexible/boxes/t-bamboo.gif';
$files[] = 'skins/flexible/boxes/t-bamboo2.gif';
$files[] = 'skins/flexible/boxes/t-bg_pattern.gif';
$files[] = 'skins/flexible/boxes/t-bg3.png';
$files[] = 'skins/flexible/boxes/t-blumarbl.gif';
$files[] = 'skins/flexible/boxes/t-brick1.jpg';
$files[] = 'skins/flexible/boxes/t-brick2.jpg';
$files[] = 'skins/flexible/boxes/t-brick3.jpg';
$files[] = 'skins/flexible/boxes/t-brick4.jpg';
$files[] = 'skins/flexible/boxes/t-candy1.jpg';
$files[] = 'skins/flexible/boxes/t-coffee.jpg';
$files[] = 'skins/flexible/boxes/t-coins01.gif';
$files[] = 'skins/flexible/boxes/t-grass.jpg';
$files[] = 'skins/flexible/boxes/t-iron.png';
$files[] = 'skins/flexible/boxes/t-lightgray1.gif';
$files[] = 'skins/flexible/boxes/t-paper3.jpg';
$files[] = 'skins/flexible/boxes/t-pgback.gif';
$files[] = 'skins/flexible/boxes/t-rain3.jpg';
$files[] = 'skins/flexible/boxes/t-rain4.gif';
$files[] = 'skins/flexible/boxes/t-stone3.gif';
$files[] = 'skins/flexible/boxes/t-stripy.gif';
$files[] = 'skins/flexible/boxes/t-stripy1.gif';
$files[] = 'skins/flexible/boxes/t-stripy2.gif';
$files[] = 'skins/flexible/boxes/t-stripy3.gif';
$files[] = 'skins/flexible/boxes/t-tulip.gif';
$files[] = 'skins/flexible/boxes/t-wavy2.gif';
$files[] = 'skins/flexible/boxes/t-weed.jpg';
$files[] = 'skins/flexible/boxes/t-wood2.jpg';
$files[] = 'skins/flexible/boxes/t-wood3.jpg';
$files[] = 'skins/flexible/boxes/t-wood4.jpg';
$files[] = 'skins/flexible/boxes/t-wood5.jpg';
$files[] = 'skins/flexible/boxes/t-wood17.jpg';
$files[] = 'skins/flexible/boxes/y-shadowleft-y.gif';
$files[] = 'skins/flexible/boxes/y-shadowOnRight-y.gif';
$files[] = 'skins/flexible/boxes/y-shadowright-y.gif';
$files[] = 'skins/flexible/boxes/z-fill-active.gif';
$files[] = 'skins/flexible/boxes/z-fill-black.png';
$files[] = 'skins/flexible/boxes/z-fill-gray.gif';
$files[] = 'skins/flexible/boxes/z-fill-pinstripe.gif';
$files[] = 'skins/flexible/configuration/1_2_3.gif';
$files[] = 'skins/flexible/configuration/2_1_3.gif';
$files[] = 'skins/flexible/configuration/2_3_1.gif';
$files[] = 'skins/flexible/configuration/3_2_1.gif';
$files[] = 'skins/flexible/configuration/fixed.gif';
$files[] = 'skins/flexible/configuration/fluid.gif';
$files[] = 'skins/flexible/flexible.css';
$files[] = 'skins/flexible/footers/p-bkgSubSelected-x.gif';
$files[] = 'skins/flexible/footers/p-blue-x.gif';
$files[] = 'skins/flexible/footers/p-footer-x.jpg';
$files[] = 'skins/flexible/footers/p-gh-gradient-x.jpg';
$files[] = 'skins/flexible/footers/p-gh-navbar-x.gif';
$files[] = 'skins/flexible/footers/p-gh-p7ap_light_gray_bevel-x.jpg';
$files[] = 'skins/flexible/footers/p-gt_small-x.gif';
$files[] = 'skins/flexible/footers/p-gt-bluegradient-x.jpg';
$files[] = 'skins/flexible/footers/s-bg-b.png';
$files[] = 'skins/flexible/footers/s-gt-bgfadegreen-b.gif';
$files[] = 'skins/flexible/footers/s-gt-chrom_menu-b.png';
$files[] = 'skins/flexible/footers/t-bamboo.gif';
$files[] = 'skins/flexible/footers/t-bamboo2.gif';
$files[] = 'skins/flexible/footers/t-bg_pattern.gif';
$files[] = 'skins/flexible/footers/t-blumarbl.gif';
$files[] = 'skins/flexible/footers/t-iron.png';
$files[] = 'skins/flexible/footers/t-lightgray1.gif';
$files[] = 'skins/flexible/footers/t-paper3.jpg';
$files[] = 'skins/flexible/footers/t-pgback.gif';
$files[] = 'skins/flexible/footers/t-stripy.gif';
$files[] = 'skins/flexible/footers/t-stripy1.gif';
$files[] = 'skins/flexible/footers/t-stripy2.gif';
$files[] = 'skins/flexible/footers/t-stripy3.gif';
$files[] = 'skins/flexible/footers/t-wavy2.gif';
$files[] = 'skins/flexible/footers/z-fill-active.gif';
$files[] = 'skins/flexible/footers/z-fill-black.png';
$files[] = 'skins/flexible/footers/z-fill-gray.gif';
$files[] = 'skins/flexible/footers/z-fill-pinstripe.gif';
$files[] = 'skins/flexible/headers/hdr-shadow-bm.png';
$files[] = 'skins/flexible/headers/m-anewday-m.jpg';
$files[] = 'skins/flexible/headers/m-blankheader-m.gif';
$files[] = 'skins/flexible/headers/m-bp-m.gif';
$files[] = 'skins/flexible/headers/m-ephemeral_header04-m.jpg';
$files[] = 'skins/flexible/headers/m-ephemeral_header05-m.jpg';
$files[] = 'skins/flexible/headers/m-fireball-r.jpg';
$files[] = 'skins/flexible/headers/m-flowers-r.jpg';
$files[] = 'skins/flexible/headers/m-header_love-m.jpg';
$files[] = 'skins/flexible/headers/m-header-1-m.jpg';
$files[] = 'skins/flexible/headers/m-header-2-m.jpg';
$files[] = 'skins/flexible/headers/m-nopolitics-m.jpg';
$files[] = 'skins/flexible/headers/m-sublog-m.jpg';
$files[] = 'skins/flexible/headers/m-transition-m.jpg';
$files[] = 'skins/flexible/headers/p-background-tile-x.png';
$files[] = 'skins/flexible/headers/p-background-x.gif';
$files[] = 'skins/flexible/headers/p-bg-body-x.gif';
$files[] = 'skins/flexible/headers/p-bg-GryWhtgradient-x.gif';
$files[] = 'skins/flexible/headers/p-bg-x.png';
$files[] = 'skins/flexible/headers/p-blue-x.gif';
$files[] = 'skins/flexible/headers/p-bodybg-x.png';
$files[] = 'skins/flexible/headers/p-chrom_degh.png';
$files[] = 'skins/flexible/headers/p-entrybg.png';
$files[] = 'skins/flexible/headers/p-greyfadebackground-x.jpg';
$files[] = 'skins/flexible/headers/p-header_bg-x.png';
$files[] = 'skins/flexible/headers/p-pagebg-x.jpg';
$files[] = 'skins/flexible/headers/p-ruler-b.png';
$files[] = 'skins/flexible/headers/p-stripes2-x.jpg';
$files[] = 'skins/flexible/headers/p-top_bg-x.gif';
$files[] = 'skins/flexible/headers/p-waves.blue-x.gif';
$files[] = 'skins/flexible/headers/p-whiteblack-x.gif';
$files[] = 'skins/flexible/headers/readme.txt';
$files[] = 'skins/flexible/headers/t-2c8123d2beb148aa302f2eb8704e6bc62.jpg';
$files[] = 'skins/flexible/headers/t-06646b325623e8742e2788d0edb330bd2.jpg';
$files[] = 'skins/flexible/headers/t-bamboo.gif';
$files[] = 'skins/flexible/headers/t-bamboo2.gif';
$files[] = 'skins/flexible/headers/t-bg_pattern.gif';
$files[] = 'skins/flexible/headers/t-blumarbl.gif';
$files[] = 'skins/flexible/headers/t-Corduroy-Pattern01.jpg';
$files[] = 'skins/flexible/headers/t-CorrodedTiles.jpg';
$files[] = 'skins/flexible/headers/t-GreenMarbleTiles.jpg';
$files[] = 'skins/flexible/headers/t-iron.png';
$files[] = 'skins/flexible/headers/t-lightgray1.gif';
$files[] = 'skins/flexible/headers/t-Old-Metal.jpg';
$files[] = 'skins/flexible/headers/t-paper3.jpg';
$files[] = 'skins/flexible/headers/t-pgback.gif';
$files[] = 'skins/flexible/headers/t-stripy.gif';
$files[] = 'skins/flexible/headers/t-stripy1.gif';
$files[] = 'skins/flexible/headers/t-stripy2.gif';
$files[] = 'skins/flexible/headers/t-stripy3.gif';
$files[] = 'skins/flexible/headers/t-stripy4.gif';
$files[] = 'skins/flexible/headers/t-stripy5.png';
$files[] = 'skins/flexible/headers/t-wavy2.gif';
$files[] = 'skins/flexible/headers/t-wood_plank.jpg';
$files[] = 'skins/flexible/headers/t-wood2.jpg';
$files[] = 'skins/flexible/headers/z-fill-active.gif';
$files[] = 'skins/flexible/headers/z-fill-black.png';
$files[] = 'skins/flexible/headers/z-fill-gray.gif';
$files[] = 'skins/flexible/headers/z-fill-pinstripe.gif';
$files[] = 'skins/flexible/logos/logo.gif';
$files[] = 'skins/flexible/logos/yacs.gif';
$files[] = 'skins/flexible/pages/t-bg_pattern.gif';
$files[] = 'skins/flexible/pages/t-iron.png';
$files[] = 'skins/flexible/pages/t-lightgray1.gif';
$files[] = 'skins/flexible/pages/t-pgback.gif';
$files[] = 'skins/flexible/pages/t-stripy.gif';
$files[] = 'skins/flexible/pages/t-stripy1.gif';
$files[] = 'skins/flexible/pages/t-stripy2.gif';
$files[] = 'skins/flexible/pages/t-stripy3.gif';
$files[] = 'skins/flexible/pages/z-fill-active.gif';
$files[] = 'skins/flexible/pages/z-fill-black.png';
$files[] = 'skins/flexible/pages/z-fill-gray.gif';
$files[] = 'skins/flexible/pages/z-fill-pinstripe.gif';
$files[] = 'skins/flexible/panels/p-gh-bckg-topbanner-x.gif';
$files[] = 'skins/flexible/panels/p-gh-bg-x.png';
$files[] = 'skins/flexible/panels/p-gh-bkgSubSelected-x.gif';
$files[] = 'skins/flexible/panels/p-gh-content-container-background-x.png';
$files[] = 'skins/flexible/panels/p-gh-p7ap_light_gray_bevel-x.jpg';
$files[] = 'skins/flexible/panels/p-gt_small-x.gif';
$files[] = 'skins/flexible/panels/p-gt-bluegradient-x.jpg';
$files[] = 'skins/flexible/panels/p-gt-disc-back-x.gif';
$files[] = 'skins/flexible/panels/s-gt-bgfadegreen-b.gif';
$files[] = 'skins/flexible/panels/s-gt-chrom_menu-b.png';
$files[] = 'skins/flexible/panels/s-gt-profilebackground-b.gif';
$files[] = 'skins/flexible/panels/t-bamboo.gif';
$files[] = 'skins/flexible/panels/t-bamboo2.gif';
$files[] = 'skins/flexible/panels/t-bg_pattern.gif';
$files[] = 'skins/flexible/panels/t-blumarbl.gif';
$files[] = 'skins/flexible/panels/t-brick1.jpg';
$files[] = 'skins/flexible/panels/t-brick2.jpg';
$files[] = 'skins/flexible/panels/t-brick3.jpg';
$files[] = 'skins/flexible/panels/t-brick4.jpg';
$files[] = 'skins/flexible/panels/t-candy1.jpg';
$files[] = 'skins/flexible/panels/t-coffee.jpg';
$files[] = 'skins/flexible/panels/t-coins01.gif';
$files[] = 'skins/flexible/panels/t-grass.jpg';
$files[] = 'skins/flexible/panels/t-iron.png';
$files[] = 'skins/flexible/panels/t-lightgray1.gif';
$files[] = 'skins/flexible/panels/t-paper3.jpg';
$files[] = 'skins/flexible/panels/t-rain3.jpg';
$files[] = 'skins/flexible/panels/t-rain4.gif';
$files[] = 'skins/flexible/panels/t-stone3.gif';
$files[] = 'skins/flexible/panels/t-stripy.gif';
$files[] = 'skins/flexible/panels/t-stripy1.gif';
$files[] = 'skins/flexible/panels/t-stripy2.gif';
$files[] = 'skins/flexible/panels/t-stripy3.gif';
$files[] = 'skins/flexible/panels/t-stripy4.gif';
$files[] = 'skins/flexible/panels/t-tulip.gif';
$files[] = 'skins/flexible/panels/t-wavy2.gif';
$files[] = 'skins/flexible/panels/t-weed.jpg';
$files[] = 'skins/flexible/panels/t-wood2.jpg';
$files[] = 'skins/flexible/panels/t-wood3.jpg';
$files[] = 'skins/flexible/panels/t-wood4.jpg';
$files[] = 'skins/flexible/panels/t-wood5.jpg';
$files[] = 'skins/flexible/panels/t-wood17.jpg';
$files[] = 'skins/flexible/panels/y-bg-y.png';
$files[] = 'skins/flexible/panels/y-bgf-ry.jpg';
$files[] = 'skins/flexible/panels/y-shadowleft-y.gif';
$files[] = 'skins/flexible/panels/y-shadowOnRight-yr.gif';
$files[] = 'skins/flexible/panels/y-shadowright-yr.gif';
$files[] = 'skins/flexible/panels/y-sidebar-bg-y.png';
$files[] = 'skins/flexible/panels/y-sidebar-bg-yr.png';
$files[] = 'skins/flexible/panels/z-fill-active.gif';
$files[] = 'skins/flexible/panels/z-fill-black.png';
$files[] = 'skins/flexible/panels/z-fill-gray.gif';
$files[] = 'skins/flexible/panels/z-fill-pinstripe.gif';
$files[] = 'skins/flexible/preview.jpg';
$files[] = 'skins/flexible/tabs/tab-left.gif';
$files[] = 'skins/flexible/tabs/tab-right.gif';
$files[] = 'skins/flexible/tabs/tab1-left.gif';
$files[] = 'skins/flexible/tabs/tab1-right.gif';
$files[] = 'skins/flexible/tabs/tab2-left.gif';
$files[] = 'skins/flexible/tabs/tab2-right.gif';
$files[] = 'skins/flexible/tabs/tab3-left.gif';
$files[] = 'skins/flexible/tabs/tab3-right.gif';
$files[] = 'skins/flexible/tabs/tab4-left.gif';
$files[] = 'skins/flexible/tabs/tab4-right.gif';
$files[] = 'skins/flexible/tabs/tab5-left.gif';
$files[] = 'skins/flexible/tabs/tab5-right.gif';
$files[] = 'skins/flexible/tabs/tab6-left.gif';
$files[] = 'skins/flexible/tabs/tab6-right.gif';
$files[] = 'skins/flexible/tabs/tab7-left.gif';
$files[] = 'skins/flexible/tabs/tab7-right.gif';
$files[] = 'skins/flexible/tabs/tab8-left.gif';
$files[] = 'skins/flexible/tabs/tab8-right.gif';
$files[] = 'skins/flexible/tabs/tab9-left.gif';
$files[] = 'skins/flexible/tabs/tab9-right.gif';
$files[] = 'skins/flexible/tabs/tab10-left.gif';
$files[] = 'skins/flexible/tabs/tab10-right.gif';
$files[] = 'skins/flexible/tabs/tab11-left.gif';
$files[] = 'skins/flexible/tabs/tab11-right.gif';
$files[] = 'skins/flexible/tabs/tab12-left.gif';
$files[] = 'skins/flexible/tabs/tab12-right.gif';
$files[] = 'skins/flexible/tabs/tabB-left.gif';
$files[] = 'skins/flexible/tabs/tabB-right.gif';
$files[] = 'skins/flexible/tabs/tabC-left.gif';
$files[] = 'skins/flexible/tabs/tabC-right.gif';
$files[] = 'skins/flexible/tabs/tabD-left.gif';
$files[] = 'skins/flexible/tabs/tabD-right.gif';
$files[] = 'skins/flexible/tabs/tabE-left.gif';
$files[] = 'skins/flexible/tabs/tabE-right.gif';
$files[] = 'skins/flexible/tabs/tabF-left.gif';
$files[] = 'skins/flexible/tabs/tabF-right.gif';
$files[] = 'skins/flexible/tabs/tabG-left.gif';
$files[] = 'skins/flexible/tabs/tabG-right.gif';
$files[] = 'skins/flexible/tabs/tabH-left.gif';
$files[] = 'skins/flexible/tabs/tabH-right.gif';
$files[] = 'skins/flexible/tabs/tabI-left.gif';
$files[] = 'skins/flexible/tabs/tabI-right.gif';
$files[] = 'skins/flexible/tabs/tabJ-left.gif';
$files[] = 'skins/flexible/tabs/tabJ-right.gif';
$files[] = 'skins/flexible/tabs/tabK-left.gif';
$files[] = 'skins/flexible/tabs/tabK-right.gif';
$files[] = 'skins/flexible/template.css';
$files[] = 'skins/joi/codes/bullet.gif';
$files[] = 'skins/joi/joi.css';
$files[] = 'skins/joi/layouts/map.gif';
$files[] = 'skins/joi/rating/rated_1.gif';
$files[] = 'skins/joi/rating/rated_2.gif';
$files[] = 'skins/joi/rating/rated_3.gif';
$files[] = 'skins/joi/rating/rated_4.gif';
$files[] = 'skins/joi/rating/rated_5.gif';
$files[] = 'skins/layout_home_articles_as_hardboiled.jpg';
$files[] = 'skins/skeleton/images/nicetitle_background.png';
$files[] = 'skins/skeleton/layouts/map.gif';
$files[] = 'skins/skeleton/nicetitle.css';
$files[] = 'skins/skeleton/nicetitle.js';
$files[] = 'skins/skeleton/skeleton.css';
$files[] = 'skins/skeleton/tools/more.gif';
$files[] = 'skins/skeleton/tools/new.gif';
$files[] = 'skins/skeleton/tools/updated.gif';

// process every file
$count = 0;
foreach($files as $file) {

	// content of the updated file
	$content = '';

	// expected location in staging repository
	$local_reference = $context['path_to_root'].'scripts/staging/'.$file;

	// expected link from reference server
	include_once $context['path_to_root'].'links/link.php';

	// don't execute PHP scripts, just get them
	if(preg_match('/\.php$/i', $file))
		$remote_reference = 'http://'.$context['reference_server'].'/scripts/fetch.php?script='.urlencode($file);

	// fetch other files from remote reference store
	else
		$remote_reference = 'http://'.$context['reference_server'].'/scripts/reference/'.$file;

	// get the file locally
	if(file_exists($local_reference))
		$content = Safe::file_get_contents($local_reference);

	// or get the file from reference server
	elseif(($content = Link::fetch($remote_reference)) === FALSE) {
		$local['error_en'] = 'Unable to get '.$file;
		$local['error_fr'] = 'Impossible d\'obtenir '.$file;
		echo i18n::user('error')."<br />\n";
	}

	// we have something in hand
	if($content) {

		// create missing directories where applicable
		Safe::make_path(dirname($file));

		// create backups, if possible
		if(file_exists($context['path_to_root'].$file)) {
			Safe::unlink($context['path_to_root'].$file.'.bak');
			Safe::rename($context['path_to_root'].$file, $context['path_to_root'].$file.'.bak');
		}

		// update the target file
		if(!Safe::file_put_contents($file, $content)) {
			$local['label_en'] = 'Impossible to write to the file '.$file.'.';
			$local['label_fr'] = 'Impossible d\'&eacute;crire le fichier '.$file.'.';
			echo i18n::user('label')."<br />\n";
		} else {
			$local['label_en'] = 'has been updated';
			$local['label_fr'] = 'a &eacute;t&eacute; mis &agrave; jour';
			echo $file.' '.i18n::user('label')."<br />\n";
		}

	}

	// next one
	$count += 1;
	Safe::set_time_limit(30);
}

// basic reporting
$local['label_en'] = 'files have been processed';
$local['label_fr'] = 'fichiers ont &eacute;t&eacute; trait&eacute;s';
echo $count.' '.i18n::user('label')."<br />\n";
?>